<?php 
$membership = $this->load->model('admin_membership_model')->showlist();
?>
<div id="menu" class="hidden-phone">
	<div id="menuInner">
		<ul>
			<li class="glyphicons home active"><a href="<?= base_url();?>secure/dashboard/dashboard"><i></i><span>Dashboard</span>
			</a></li>

			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons glyphicons cogwheels" href="#menu_web_settings"><i></i><span>Configuration</span>
			</a>
				<ul class="collapse" id="menu_web_settings">
					<li class=""><a
						href="<?= base_url(); ?>secure/settings/web_settings"><span>Web
								Configuration</span> </a>
					</li>
					<li class=""><a href="<?= base_url(); ?>secure/settings/sitelogo"><span>Site
								Logo</span> </a>
					</li>
					<li class=""><a
						href="<?= base_url(); ?>secure/settings/password_change"><span>Change
								Password</span> </a>
					</li>
						 <li class=""><a
						href="<?= base_url();?>secure/settings/web_configuration"><span>Web Settings</span> </a>
					</li> 
			
				</ul></li>

				
				<?php if($this->commoncall->getModule('Banner') == '51'){?>
				 <li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons glyphicons charts" href="#menu_banner"><i></i><span>Banner</span>
			</a>
			
			<ul class="collapse" id="menu_banner">
					<li class=""><a href="<?= base_url(); ?>banner/admin/admin_banner/add"><span>Add Banner</span> </a>
					</li>
					<li class=""><a href="<?= base_url(); ?>banner/admin/admin_banner/banner_list"><span>Banner List</span> </a>
					</li>
				</ul>
				</li>
				<?php }?>


			 <li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons glyphicons charts" href="#menu_category"><i></i><span>Category</span>
			</a>
				<ul class="collapse" id="menu_category">
					<li class=""><a
						href="<?= base_url(); ?>secure/category_tree/management/show"><span>Category
								Tree</span> </a>
					</li>
				</ul></li>
				<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons posterous_spaces" href="#menu_location"><i></i><span>Location
				</span> </a>
				<ul class="collapse" id="menu_location">
					<li class=""><a href="<?= base_url();?>secure/location/location_management"><span>Location
								Management</span> </a>
					</li>
				</ul>
			</li>
			
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons briefcase" href="#menu_listing"><i></i><span>Lawyer Listing
				</span> </a>
				<ul class="collapse" id="menu_listing">
					<li class=""><a href="<?= base_url(); ?>secure/listing/listings"><span>Listing 
								Management</span> </a>
					</li>
				</ul>
			</li>
			<!-- 
			<?php if($this->commoncall->getModule('Recent Listing') == '51'){?>
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons briefcase" href="#menu_recent"><i></i><span>Recent Listing
				</span> </a>
				<ul class="collapse" id="menu_recent">
					<li class=""><a href="<?= base_url(); ?>recent/admin/admin_recent_listing"><span>Recent Listing 
								Management</span> </a>
					</li>
				</ul>
			</li>
			<?php }?>
			 -->
			<!-- 
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons briefcase" href="#menu_membership"><i></i><span>Membership
				</span> </a>
				<ul class="collapse" id="menu_membership">
				
				<?php foreach ($membership as $membership): ?>
                            <li>
                                <a href="<?= base_url();?>secure/membership?code=<?= $membership->code;?>"> <?= $membership->name;?> </a>
                                <input type="hidden" name="mem_type" value="<?= $membership->name;?>">
                            </li>

                        <?php endforeach; ?>
					<!-- <li class=""><a href="<?= base_url();?>secure/membership/premium_member"><span>Premium Member</span> </a>
					</li>
					<li class=""><a href="#"><span>Free Member</span> </a>
					</li> 
				</ul>
			</li>
			 -->
			
		 
			 
			<!-- 
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons no-js usd" href="#menu_payment"><i></i><span>Payment Gateway
				</span> </a>
				<ul class="collapse" id="menu_payment">
					<li class=""><a href="<?= base_url(); ?>secure/payment_gateway/paypal"><span>Paypal</span> </a>
					</li>
					<li class=""><a href="<?= base_url(); ?>secure/payment_gateway/paypal/authorized_dot_net"><span>Authorized.Net</span> </a>
					</li>
				</ul>
			</li>
			 -->
			
			
			<?php if($this->commoncall->getModule('News') == '51'){?>
			 <li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons no-js comments" href="#menu_news"><i></i><span>News Management
				</span> </a>
				<ul class="collapse" id="menu_news">
					<li class=""><a href="<?= base_url(); ?>news/admin/admin_news"><span>News</span> </a>
					</li>
				</ul>
			</li>
			<?php }?>
			
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons e-mail" href="#menu_template"><i></i><span>Template
				</span> </a>
				<ul class="collapse" id="menu_template">
					<li class=""><a href="<?= base_url(); ?>secure/template/email_template"><span>Email Template</span> </a>
					</li>
				</ul>
			</li>
			 
			
			 
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons show_thumbnails" href="#menu_cms"><i></i><span>CMS
				</span> </a>
				<ul class="collapse" id="menu_cms">
					<li class=""><a href="<?= base_url();?>secure/cms/cms_management"><span>Content Management</span> </a>
					</li>
				</ul>
			</li>
			<!-- 
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons show_thumbnails" href="#menu_modules"><i></i><span>MODULES
				</span> </a>
				<ul class="collapse" id="menu_modules">
					<li class=""><a href="<?= base_url();?>secure/module/module_management"><span>Modules Management</span> </a>
					</li>
				</ul>
			</li>
			 -->
			
			
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons picture" href="#menu_approval"><i></i><span>Approval
				</span> </a>
				<ul class="collapse" id="menu_approval">
				<?php if($this->commoncall->getModule('Reviews') == '51'){?>
					<li class=""><a href="<?= base_url(); ?>reviews/admin/admin_review"><span>Reviews</span> </a>
					</li>
					<?php }?>
						<li class=""><a href="<?= base_url(); ?>secure/photos/photos_management"><span>Photos</span> </a>
					</li>
				
					<li class=""><a href="<?= base_url(); ?>secure/videos/videos_management"><span>Videos</span> </a>
					</li>
				
				</ul>
			</li>
			
			<!-- 
			<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons no-js wallet" href="#menu_reports"><i></i><span>Reports
				</span> </a>
				<ul class="collapse" id="menu_reports">
					
					
					<li class=""><a href="<?= base_url(); ?>secure/reports/reviews_report"><span>Reviews</span> </a>
					</li>
					<li class=""><a href="<?= base_url(); ?>secure/reports/member_report"><span>Members</span> </a>
					</li>
					
				</ul>
			</li>
			 -->
			<!-- 
				<li class="hasSubmenu"><a data-toggle="collapse"
				class="glyphicons show_thumbnails_with_lines" href="#menu_maintenance"><i></i><span>Maintenance
				</span> </a>
				<ul class="collapse" id="menu_maintenance">
					
					
					<li class=""><a href="<?= base_url();?>secure/settings/social_media"><span>Social Media</span> </a>
					</li>
				</ul>
			</li>
 -->			
			
		</ul>
		
	</div>